﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HistoryModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delivered
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<div class="maincontent">
		<div id="tab">
			<ul id="tabs">
				<li rel="my"><%:Html.ActionLink("My", "Pending", "History", new { category = "self" }, null)%></li>
				<%--<li rel="group"><%:Html.ActionLink("Group", "Pending", "History", new { category = "group" }, null)%></li>--%>
				<li rel="company" class="current"><%:Html.ActionLink("Company", "Pending", "History", new { category = "company" }, null)%></li>
			</ul>
			<div class="clear">
			</div>
		</div>
		<div id="tabcontent">
			<div class="tab" id="my">
				<h2>
					View Company Pending Items<div class="searchbox">
					<% using (Html.BeginForm("Delivered", "history", FormMethod.Get))
					   {  %>
						<input name="key" type="text" class="searchbox" value="<%:Model.key %>"/><input type="submit" value="GO"
							name="" class="searchbutton"></div>
							<%} %>
				</h2>
				<div id="datagrid" class="maincontent">
					<% using (Ajax.BeginForm("ForwardMessage", "history", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "failed", Confirm = "Are You Sure to do this action" }, FormMethod.Post))
					   { %>
					<div id="failed">
						<%Html.RenderPartial("HistoryGrid_Pending"); %>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="46%" class="button">
								<%--<input type="button" name="selectall" class="button" value="全选" />
								<input type="hidden" name="batchid" value="<%: Model.BatchId %>" />
								<input type="submit" name="todo" value="转发" class="button" />--%>
							</td>
							<td width="54%" align="right" class="pagination">
								<% Html.ShowPagination(Model.page, Model.PageCount, Model.key); %>
								<div class="clear">
								</div>
							</td>
						</tr>
					</table>
					</div>
					
					<% } %>
				</div>
			</div>
		</div>
	</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
	<link rel="stylesheet" type="text/css" href="<%:Url.Content("~/Content/css/themes/default/easyui.css")%>" />
<%--    <link href="<%:Url.Content("~/Content/css/common.css")%>" rel="stylesheet" type="text/css" />
	<link href="<%:Url.Content("~/Content/css/headerfooter.css")%>" rel="stylesheet" type="text/css" />--%>
	<link href="<%:Url.Content("~/Content/css/failed.css")%>" rel="stylesheet" type="text/css" />
	<link href="<%:Url.Content("~/Content/css/icons.css")%>" rel="stylesheet" type="text/css" />
	<script src="<%:Url.Content("~/Content/js/jquery.alcatel.failed.js")%>" type="text/javascript"></script>
	<script src="<%:Url.Content("~/Content/js/jquery.alcatel.datagrid.js")%>" type="text/javascript"></script>
	<script src="<%:Url.Content("~/Content/js/jquery.mask.js")%>" type="text/javascript"></script>
	<script src="<%:Url.Content("~/Content/js/jquery.easyui.js")%>" type="text/javascript"></script>
</asp:Content>
